package com.crmweb.entity;

import java.util.List;

import com.crmweb.entity.Modules;

public class Modules {

	private int id;
	private String name;
	private int parentId;
	private String path;
	private int weight;
	private String ops;
	private int int1;
	
	private List<Modules> children;

	public List<Modules> getChildren() {
		return children;
	}

	public void setChildren(List<Modules> children) {
		this.children = children;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getParentId() {
		return parentId;
	}

	public void setParentId(int parentId) {
		this.parentId = parentId;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public int getWeight() {
		return weight;
	}

	public void setWeight(int weight) {
		this.weight = weight;
	}

	public String getOps() {
		return ops;
	}

	public void setOps(String ops) {
		this.ops = ops;
	}

	public int getInt1() {
		return int1;
	}

	public void setInt1(int int1) {
		this.int1 = int1;
	}

	@Override
	public String toString() {
		return "Modules [id=" + id + ", name=" + name + ", parentId=" + parentId + ", path=" + path + ", weight="
				+ weight + ", ops=" + ops + ", int1=" + int1 + "]";
	}

}
